package com.example.mallcoupon.config;

import com.example.mallcoupon.feign.MemberFallbackFactory;
import org.springframework.context.annotation.Bean;


public class DefaultFeignConfiguration {

	@Bean // 就是我们刚刚new 一个新建的FallbackFactory类
	public MemberFallbackFactory memberFallbackFactory(){
		return new MemberFallbackFactory();
	}
}
